home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gawk
/
gawk213b.zoo
/
test
/
t_sub.goo
< prev
next >
Wrap
Text File
|
1991-04-20
|
595b
|
23 lines
T.sub: tests of sub and gsub code
1: foo bar foo shit glop:
sub 1 fails: bar should be shit
gsub 1 fails: bar should be glop
2: a x aaa xaa xxx:
3: a x axa xxa xxx:
4: a x bbb bbb bbb:
5: a x "" "" "":
6: a xy aaa xyaa xyxyxy:
7: a xy axa xyxa xyxxy:
8: a xy bbb bbb bbb:
9: a xy "" "" "":
10: . x aaa xaa xxx:
11: . x axa xxa xxx:
12: . x bbb xbb xxx:
13: . x "" "" "":
14: .a x a a a:
15: .a x ax ax ax:
16: .a x aa x x:
17: .a x aaab xab xab:
18: .a x aaaa xaa xx:
19: .a x "" "" "":